//
//  PackingIntroduceTableViewCell.m
//  ForestPack
//
//  Created by 骆锴 on 2018/7/23.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import "PackingIntroduceTableViewCell.h"
@interface PackingIntroduceTableViewCell()

@property (nonatomic, strong) UILabel *content;

@end

@implementation PackingIntroduceTableViewCell

+ (PackingIntroduceTableViewCell *)cellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath{
    static NSString *cellID = @"PackingIntroduceCell";
    PackingIntroduceTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellID];
    if (cell == nil) {
        cell = [[PackingIntroduceTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellID];
        cell.backgroundColor = [UIColor whiteColor];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        [cell createSubView];
    }
    
    return cell;
}

-(void)createSubView{
    _content = [[UILabel alloc] initWithFrame:CGRectMake(ScreenX375(13), ScreenX375(15), ScreenX375(350), ScreenX375(61))];
    _content.textColor = REXADECIMALCOLOR(@"#999999");
    _content.text = @"森林包装设计顶顶顶顶顶顶顶,森林包装设计顶顶顶顶顶顶顶,森林包装设计顶顶顶顶顶顶顶,森林包装设计顶顶顶顶顶顶顶,森林包装设计顶顶顶顶顶顶顶.";
    _content.numberOfLines = 3;
    _content.font = Kfont(14);
    _content.textAlignment = NSTextAlignmentLeft;
    [self addSubview:_content];
}

@end
